﻿using ASmile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASmile.Mssql.AlterDBFile
{
    /// <summary>
    /// 本地配置
    /// </summary>
    public class Config
    {
        static Config()
        {
            if (Settings == null)
            {
                Settings = ConfigHelper.GetAppSettings<AppSetings>();
            }
        }

        /// <summary>
        /// 配置对象
        /// </summary>
        public static AppSetings Settings { get; private set; }

        public class AppSetings
        {
            public string ConnStr { set; get; }
        }
    }
}
